package top.infopub.job.fia.service.impl;


import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.job.fia.dao.ProBudgetDetailDao;
import top.infopub.job.fia.domain.ProBudgetDetailDomain;
import top.infopub.job.fia.service.ProBudgetDetailService;
import top.infopub.model.fia.ProBudgetDetail;


@Service
public class ProBudgetDetailServiceImpl extends GenericServiceImpl<ProBudgetDetail, String> implements ProBudgetDetailService {

    @Autowired
    private ProBudgetDetailDao proBudgetDetailDao;

    @Override
    public GenericDao<ProBudgetDetail, String> getDao() {
        return proBudgetDetailDao;
    }

    @Override
    public List<ProBudgetDetailDomain> sumMonthFinFeeOfArea(Map<String, Object> where) {
        return proBudgetDetailDao.sumMonthFinFeeOfArea(where);
    }

    @Override
    public BigDecimal sumMonthFinFeeOfSuper(Map<String, Object> where) {
        return proBudgetDetailDao.sumMonthFinFeeOfSuper(where);
    }

    @Override
    public List<ProBudgetDetailDomain> sumMonthCashInOfArea(Map<String, Object> where) {
        return proBudgetDetailDao.sumMonthCashInOfArea(where);
    }

    @Override
    public BigDecimal sumMonthCashInOfSuper(Map<String, Object> where) {
        return proBudgetDetailDao.sumMonthCashInOfSuper(where);
    }

    @Override
    public List<ProBudgetDetailDomain> sumMonthCashOutOfArea(Map<String, Object> where) {
        return proBudgetDetailDao.sumMonthCashOutOfArea(where);
    }

    @Override
    public BigDecimal sumMonthCashOutOfSuper(Map<String, Object> where) {
        return proBudgetDetailDao.sumMonthCashOutOfSuper(where);
    }

    @Override
    public List<ProBudgetDetailDomain> sumMonthInvestOfArea(Map<String, Object> where) {
        return proBudgetDetailDao.sumMonthInvestOfArea(where);
    }

    @Override
    public BigDecimal sumMonthInvestOfSuper(Map<String, Object> where) {
        return proBudgetDetailDao.sumMonthInvestOfSuper(where);
    }

    @Override
    public List<ProBudgetDetailDomain> sumMonthProfitOfArea(Map<String, Object> where) {
        return proBudgetDetailDao.sumMonthProfitOfArea(where);
    }

    @Override
    public BigDecimal sumMonthProfitOfSuper(Map<String, Object> where) {
        return proBudgetDetailDao.sumMonthProfitOfSuper(where);
    }

}